home *** CD-ROM | disk | FTP | other *** search
/ Disc to the Future 2 / Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin / MAC / THINKC / TCL1 / CDRAGICO / ABOUT_TH.IS_
Text File  |  1992-07-19  |  2KB  |  43 lines

  1. This release of CDragIcon fixes a bug which never showed itself in
  2. the application I was writing, but DOES show itself in the demo
  3. application.  The bug?  Click on the shaded disk-drive-like-thingie
  4. icon, drag the mouse away from it (so it becomes unhighlighted), and
  5. release the mouse.  Now drag the smiley face around.  Whoops!  It's
  6. being clipped to the old icon's area.  (What actually was happening
  7. has to do with class variables.  The icon mask is a class variable,
  8. which means one location is shared by ALL instances of CIconPane,
  9. including all subclasses.)
  10.  
  11. This package includes the fix to CDragIcon.  I╒m uploading this fix
  12. in two forms:  a replacement archive containing the full
  13. distribution, and an ╥update╙ archive.  This file is going in both
  14. archives.  If you downloaded the replacement archive, named
  15. CDragIcon Demo.cpt (or .sea if you got it from America Online),
  16. you╒re all set to go, although you may want to read the following
  17. notes if you╒ve been using CDragIcon.  If you downloaded the update
  18. archive, named CDragIcon Demo Update.cpt (or .sea), you╒ll
  19. DEFINITELY want to read the update instructions following.
  20.  
  21. Thanks to Joe Zobkiw for finding this bug.
  22.  
  23. WHAT CHANGED:
  24.  
  25. Ñ Added CalcMask call to CDragIcon::DoClick method
  26. Ñ Eliminated CDragIcon Class Vars.c, putting the class variable
  27.   declaration directly into CDragIcon.c
  28. Ñ Updated to THINK C 5.0.2 (which only affects the demo application)
  29.  
  30. HOW TO UPDATE:
  31.  
  32. If you╒ve got the update archive, you should have two files besides
  33. this one.  One is the replacement CDragIcon.c file, which you should
  34. copy over your old one.  The other is an updater for the demo
  35. application; just double-click and run.  (This was created by
  36. UpdateMaker 1.2b1, a great little update creation utility.)  You
  37. should also remove CDragIcon Class Vars.c from the Starter.╣
  38. project, and delete the file from wherever you put it.
  39.  
  40. If you╒ve got the replacement archive, just have it replace all
  41. the files from the old one.  You may have to update your own
  42. projects to remove CDragIcon Class Vars.c as mentioned above.
  43.